.search {
    .short-box {
        width: 25px;
        height: 25px;
        transition: width 0.5s;
    }
    .long-box {
        width: 375px;
        height: 30px;
        transition: width 0.5s;
        border: 2px solid #dddd;
        padding-right: 10px;
    }
    .search-box {
        
        background: #fff;
        display: flex;
        border-radius: 25px;
        
        align-items: center;
        justify-content: center;
        cursor: pointer;
        .search-box-input {
            border: none;
            height: 100%;
            outline: none;
            color: #000;
            border-radius: 25px;
            padding: 0 10px;
        }
        .show-input {
            width: 350px;
        }
        .hidden-input {
            width: 0;
            height: 0;
            display: none;
        }
    }
    
    .search-short-box {
        width: 400px;
    }
    .search-long-box {
        width: 400px;
    }
    
    
}
.hidden-box {
    display: none;
}

.search-modal {
    padding: 0;

    .ant-modal-body {
        padding: 0 !important;
    }
}
.show-box {
    transition: width .3s;
    background-color: #fff;
    border-radius: 3px;
    padding-bottom: 20px;
    color: #000;
    overflow: auto;

    .search-input-box {
        display: flex;
        align-items: center;
        padding: 10px 20px;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 15px;
        gap: 5px;
        .search-input {
            outline: 0;
            border: 0;
            flex: 1;
            height: 32px;
            line-height: 32px;
            background-color: #ffffff;
        }
    }
    .search-result-box {
        max-height: calc(100% - 250px);
        overflow: auto;
        .search-doc-spin {
            min-height: 150px;
        }
    }
    .sort-box {
        padding: 0 10px;
        .sort-title {
            color: #202d407a;
            font-weight: 600;
            font-size: 12px;
            padding-left: 10px;
            height: 20px;
            line-height: 20px;
        }
        .item-box {
            .item-one {
                padding: 0 10px;
                display: flex;
                align-items: center;
                height: 35px;
                cursor: pointer;
                img {
                    width: 20px;
                    height: 20px;
                }
                span{
                    width: 100px;
                    text-align: left;
                    margin-left: 10px;
                    overflow: hidden;
                    flex: 1;
                }
                .item-desc {
                    color: #999;
                    font-size: 12px;
                }
            }
            .item-one:hover {
                background-color: #f5f7fa;
            }
        }
    }
}
.search-resule {
    .search-box {
        height: 50px;
        width: 100%;
        background: #fff;
        display: flex;
        border-radius: 7px;
        border: 2px solid #dddd;
        align-items: center;
        justify-content: space-between;
        margin: 20px 0;
        .search-input {
            border: none;
            height: 100%;
            width: 90%;
            outline: none;
            margin-left: 10px;
        }
        .search-botton {
            width: 100px;
            height: 100%;
            line-height: 44px;
            text-align: center;
            background-color: powderblue;
            color: #999;
            font-weight: 600;
            font-size: 18px;
            cursor: pointer;
        }
    }
    .repository-box{
        .repository-contant {
            line-height: 30px;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 10px;
            .repository-title {
                color: #0053ca;
                font-size: 18px;
                font-weight: 600;
            }
            .repository-item-name {
                font-weight: 600;
            }
        }
        .repository-card-item {
            box-shadow: rgba(9,30,66,0.25) 0px 1px 1px, rgba(9,30,66,0.31) 0px 0px 1px;
            width: 30%;
            margin: 10px;
            border-radius: 5px;
            padding: 10px;
            line-height: 30px;
            .repository-card-contant {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                img {
                    width: 36px;
                }
                .repository-card-title {
                    color: #202d40;
                    font-weight: 600;
                }
                .repository-card-item-name {
                    color: #d5d5d5
                }
            }
            .repository-card-bottom {
                border-top: 1px solid #f0f0f0;
                font-size: 12px;
            }
        }
    }
}